import { configureStore } from '@reduxjs/toolkit';
import { loginSlice } from './features/login';
import { userBaseInfoSlice } from './features/userBaseInfo';


const store = configureStore({
    reducer: {
        login: loginSlice.reducer,
        userBaseInfo: userBaseInfoSlice.reducer,
    },
});

export default store;

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
